RSSSL\Security\WordPress\Two_Fa\Rsssl_Two_Factor_Settings C

Total Complexity 111
Dependencies 3
Dependents 6
Total lines 728
Lines of code 344
Logical lines of code 219
Comment lines 278
Methods 27
Properties 7

Methods 27

Method Rating Maintainability Complexity Lines of code
get_login_action()
A
48 14 34
get_dynamic_roles_variable()
A
48 10 33
get_strictest_role()
A
50 10 30
get_role_status()
A
51 8 25
get_email_method_action()
A
55 8 19
get_enabled_method()
S
54 6 21
is_user_in_grace_period()
S
51 5 25
sort_roles_by_default_first()
S
58 5 15
get_strictest_role_across_sites()
S
58 4 16
is_role_and_user_status_valid()
S
76 4 3
get_configured_provider()
S
61 3 12
get_enabled_roles()
S
62 3 11
get_user_roles()
S
62 3 11
get_available_methods()
S
70 3 6
is_user_forced_to_use_2fa()
S
63 3 10
contains_role_of_type()
S
65 3 9
rsssl_one_time_login_url()
S
58 2 15
sanitize_method()
S
77 2 3
deobfuscate_user_id()
S
68 2 7
sanitize_status()
S
77 2 3
get_backup_codes()
S
68 2 7
get_user_status()
S
70 2 5
get_user_status_per_method()
S
66 2 8
__construct()
S
71 2 6
obfuscate_user_id()
S
75 1 4
role_is_of_type()
S
78 1 3
is_today()
S
78 1 3